import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import xushuo.dao.service.tools.weixin.WeiXinUtil;

/**
 * Create by zhangpe0312@qq.com on 2018/1/31.
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration({"classpath*:spring.xml"})
public class test {

    @Autowired
    WeiXinUtil weiXinUtil;

    @Test
    public void test(){
        weiXinUtil.getAccessToken();
    }
}
